.carbon-ad-inline {
  display: block;
  overflow: hidden;
  padding: 1rem;
  background-color: #282c34;
  color: #999;
  cursor: pointer;
  position: relative;
  border-radius: 0 0 6px 6px;

  &:hover {
    background: #1d1d1d;
    color: #ccc;
  }

  > img {
    vertical-align: middle;
    width: 20px;
    margin-inline-end: 0.5rem;
    border-radius: 6px;
    padding: 4px;
  }

  .carbon-ad-badge {
    color: #999;
    position: absolute;
    inset-inline-end: 16px;
    top: 16px;
  }
}

:global(.rs-show-editor) {
  :global(.rcv-editor) {
    border-radius: 0;
  }
}
